package com.indusfo.spc.client.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.indusfo.spc.common.pojo.BasePojo;

import java.util.Date;
import java.util.List;

public class ClientAno extends BasePojo {
    // 异常单ID
    private Integer clientAnoId;
    // 异常单号
    private String clientAnoNo;
    // 批次ID
    private Integer batchId;
    // 流程ID
    private Integer orderFlowId;
    // 工位ID
    private Integer stationId;
    // 创建人ID
    private Integer userId;
    // 异常处理状态
    private Integer anoState;
    // 来源
    private String sflag;
    // 创建时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;
    // 修改时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date modifyDate;
    // 备注
    private String remark;
    // 数据状态
    private Integer dataState;




    // 工序名称
    private String proName;
    // 工位名称 .
    private String stationName;
    // 批次编号
    private String batchCode;
    // 产品编号
    private String matCode;
    // 产品名称
    private String matName;
    // 托盘 .
    private String palletName;
    // 任务单号
    private String orderNo;
    // 作业人名称
    private String userName;
    // 异常处理状态
    private String anoStateName;
    // 班次名称
    private String classeName;
    // 班次ID
    private Integer classeId;
    // 不良明细集合
    private List<ClientAnoDetail> clientAnoDetails;
    // 是否下线工站
    private Boolean isOffLineStation;
    // 是否能跳序
    private Boolean isAllowSkip;
    // 任务单版本ID
 	private Integer orderTechId;
 	// 序号
 	private Integer serialNum;
 	// 工序ID
 	private Integer proId;
 	// 托盘ID
 	private Integer palletId;
 	// 开始时间
 	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startDate;
 	// 结束时间
 	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endDate;
    
    public String getClasseName() {
        return classeName;
    }

    public void setClasseName(String classeName) {
        this.classeName = classeName;
    }

    public Integer getClasseId() {
		return classeId;
	}

	public void setClasseId(Integer classeId) {
		this.classeId = classeId;
	}

	public String getAnoStateName() {
        return anoStateName;
    }

    public void setAnoStateName(String anoStateName) {
        this.anoStateName = anoStateName;
    }

    public String getProName() {
        return proName;
    }

    public void setProName(String proName) {
        this.proName = proName;
    }

    public String getStationName() {
        return stationName;
    }

    public void setStationName(String stationName) {
        this.stationName = stationName;
    }

    public String getBatchCode() {
        return batchCode;
    }

    public void setBatchCode(String batchCode) {
        this.batchCode = batchCode;
    }

    public String getMatCode() {
        return matCode;
    }

    public void setMatCode(String matCode) {
        this.matCode = matCode;
    }

    public String getMatName() {
        return matName;
    }

    public void setMatName(String matName) {
        this.matName = matName;
    }

    public String getPalletName() {
        return palletName;
    }

    public void setPalletName(String palletName) {
        this.palletName = palletName;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getClientAnoId() {
        return clientAnoId;
    }

    public void setClientAnoId(Integer clientAnoId) {
        this.clientAnoId = clientAnoId;
    }

    public String getClientAnoNo() {
        return clientAnoNo;
    }

    public void setClientAnoNo(String clientAnoNo) {
        this.clientAnoNo = clientAnoNo == null ? null : clientAnoNo.trim();
    }

    public Integer getBatchId() {
        return batchId;
    }

    public void setBatchId(Integer batchId) {
        this.batchId = batchId;
    }

    public Integer getOrderFlowId() {
        return orderFlowId;
    }

    public void setOrderFlowId(Integer orderFlowId) {
        this.orderFlowId = orderFlowId;
    }

    public Integer getStationId() {
        return stationId;
    }

    public void setStationId(Integer stationId) {
        this.stationId = stationId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getAnoState() {
        return anoState;
    }

    public void setAnoState(Integer anoState) {
        this.anoState = anoState;
    }

    public String getSflag() {
        return sflag;
    }

    public void setSflag(String sflag) {
        this.sflag = sflag == null ? null : sflag.trim();
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getModifyDate() {
        return modifyDate;
    }

    public void setModifyDate(Date modifyDate) {
        this.modifyDate = modifyDate;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public Integer getDataState() {
        return dataState;
    }

    public void setDataState(Integer dataState) {
        this.dataState = dataState;
    }

	public List<ClientAnoDetail> getClientAnoDetails() {
		return clientAnoDetails;
	}

	public void setClientAnoDetails(List<ClientAnoDetail> clientAnoDetails) {
		this.clientAnoDetails = clientAnoDetails;
	}

	public Boolean getIsOffLineStation() {
		return isOffLineStation;
	}

	public void setIsOffLineStation(Boolean isOffLineStation) {
		this.isOffLineStation = isOffLineStation;
	}

	public Integer getOrderTechId() {
		return orderTechId;
	}

	public void setOrderTechId(Integer orderTechId) {
		this.orderTechId = orderTechId;
	}

	public Boolean getIsAllowSkip() {
		return isAllowSkip;
	}

	public void setIsAllowSkip(Boolean isAllowSkip) {
		this.isAllowSkip = isAllowSkip;
	}

	public Integer getSerialNum() {
		return serialNum;
	}

	public void setSerialNum(Integer serialNum) {
		this.serialNum = serialNum;
	}

	public Integer getProId() {
		return proId;
	}

	public void setProId(Integer proId) {
		this.proId = proId;
	}

	public Integer getPalletId() {
		return palletId;
	}

	public void setPalletId(Integer palletId) {
		this.palletId = palletId;
	}

	public Date getStartDate() {
		return startDate;
	}

	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	public Date getEndDate() {
		return endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

}